package com.njtoyo.taxi.admin.service.data;

import com.njtoyo.taxi.admin.rest.presenter.data.chart.RankChartItemPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.data.data_analysis.ChartWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.data.data_analysis.DriverDataWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DriverServiceLogService {
    RestResult<List<RankChartItemPresenter>> workingTaxiChart(AdminUser adminUser, ChartWrapper chartWrapper);

    RestResult<List<RankChartItemPresenter>> workingDriverChart(AdminUser adminUser, ChartWrapper chartWrapper);

    RestResult<?> driverData(AdminUser adminUser, DriverDataWrapper wrapper);

    void driverDataExport(AdminUser adminUser, DriverDataWrapper wrapper, HttpServletResponse response);
}
